Function |from_file
std/secret::|from_file
Usage
|from_file(path, name)
Parameters
↳ path: string
↳ name: string
Return
↴ Secret<string>
Secret read from the file at path when revealed.
One trailing newline is removed from the content.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
std/secret::|from_file
|from_file(path, name)
↳ path: string
↳ name: string
↴ Secret<string>
Secret read from the file at path when revealed.
One trailing newline is removed from the content.